<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="./common/taglib.jsp"%>
<c:import url="./common/searchHead.jsp">
	<c:param name="title" value="小书房小说网,小说网,免费小说,玄幻小说,武侠小说,小说下载,小说,好看的小说,在线小说,穿越"></c:param>
	<c:param name="keywords" value="小说,小说网,言情小说,青春小说,玄幻小说,武侠小说,都市小说,历史小说,网络小说,原创网络文学,免费小说,热门小说,读书,文学,文化,新书,原创,小说下载,免费在线阅读,最新更新,经典,激情,情色"></c:param>
</c:import>
	<div class="bookwrapper clearfix" id="data_list">
		<div class="bann-type">
			<div id="filters" class="l">
				<div class="type">
					<h1>
						类型
					</h1>
					<p>
					<c:forEach items="${model.result.category}" var="category" varStatus="status">
						<a href="${ctx}/novel/list.html?ct=${category.refId}&cid=${model.params.cid}"
							 >${category.name}</a> |
					</c:forEach>
					</p>
				</div>
			</div>
			<div class="r">
				<p>
					<span>共收录<i>${model.result.totalNum}</i>部小说</span>
				</p>

			</div>
		</div>

		<div class="content clearfix" style="border: 0;">

			<div class="book-display">
				<div class="titlebar clearfix">
					<p class="hot">
						
					</p>
				</div>
				<div id="yanqing" class="s-book show">
					<ul>
						<c:forEach items="${model.result.chartMap.editorRecommend}" var="chart" varStatus="status">
							<c:if test="${(status.count-1)%5==0}">
							<li class="frist">
								<a href="${ctx}/novel/introduction.html?novelId=${chart.id}&cid=${model.params.cid}" title="${chart.name}"
									 class="frist history-cookie pit-0"><img
										src="${imgctx}/icon/${chart.icon}"
										title="${chart.name}" height="130" width="104">${chart.name}</a><span
									class="bar"></span>
									<span class="in">
									<c:if test="${chart.status==0}">连载中</c:if>
									<c:if test="${chart.status==1}">已完结</c:if>
									</span>
							</li>
							</c:if>
							<c:if test="${(status.count-1)%5!=0}">
								<li>
									<a href="${ctx}/novel/introduction.html?novelId=${chart.id}&cid=${model.params.cid}" title="${chart.name}"
										 class="history-cookie pit-1"><img
											src="${imgctx}/icon/${chart.icon}"
											title="${chart.name}" height="130" width="104">${chart.name}</a><span
										class="bar"></span>
										<span class="in">
										<c:if test="${chart.status==0}">连载中</c:if>
										<c:if test="${chart.status==1}">已完结</c:if>
										</span>
								</li>
							</c:if>
						</c:forEach>
					</ul>
				</div>

			</div>


			<div id="book-selected" class="book-display book-display-b">
				<div class="titlebar clearfix">
					<p class="mianfei"></p>
				</div>
				<div class="s-book" style="display: block;">
					<ul>
					
						<c:forEach items="${model.result.chartMap.editorRecommend}" var="chart" varStatus="status">
							<c:if test="${(status.count-1)%5==0 && status.count<=5}">
							<li class="frist">
								<a href="${ctx}/novel/introduction.html?novelId=${chart.id}&cid=${model.params.cid}" title="${chart.name}"
									 class="frist history-cookie pit-0"><img
										src="${imgctx}/icon/${chart.icon}"
										title="${chart.name}" height="130" width="104">${chart.name}</a><span
									class="bar"></span>
									<span class="in">
									<c:if test="${chart.status==0}">连载中</c:if>
									<c:if test="${chart.status==1}">已完结</c:if>
									</span>
							</li>
							</c:if>
							<c:if test="${(status.count-1)%5!=0 && status.count<=5}">
								<li>
									<a href="${ctx}/novel/introduction.html?novelId=${chart.id}&cid=${model.params.cid}" title="${chart.name}"
										 class="history-cookie pit-1"><img
											src="${imgctx}/icon/${chart.icon}"
											title="${chart.name}" height="130" width="104">${chart.name}</a><span
										class="bar"></span>
										<span class="in">
										<c:if test="${chart.status==0}">连载中</c:if>
										<c:if test="${chart.status==1}">已完结</c:if>
										</span>
								</li>
							</c:if>
						</c:forEach>
					</ul>
				</div>

			</div>


			<div class="book-display book-display-ie">
				<div class="titlebar clearfix">
					<p class="type"></p>
				</div>
				<div id="classification" class="type-list">
					<ul>
						<li>
							<h1>
								<a href="${ctx}/novel/list.html?ct=2&cid=${model.params.cid}"
									>玄幻</a>·
								<a href="${ctx}/novel/list.html?ct=2&cid=${model.params.cid}"
									>奇幻</a><span></span>
							</h1>
							
							<c:forEach items="${model.result.chartMap.qihuan}" var="chart" varStatus="status">
								<c:if test="${status.count==1}">
									<div class="l s-book">
										<a href="${ctx}/novel/introduction.html?novelId=${chart.id}&cid=${model.params.cid}" title="${chart.name}"
											class="history-cookie" ><img
												src="${imgctx}/icon/${chart.icon}"
												title="" height="130" width="104"><span class="bar"></span>
												<sp class="in">
													<c:if test="${chart.status==0}">连载中</c:if>
													<c:if test="${chart.status==1}">已完结</c:if>
												</span>
										</a>
									</div>
									
									<div class="r">
										<dl>
											<dt>
												<a href="${ctx}/novel/introduction.html?novelId=${chart.id}&cid=${model.params.cid}" title="${chart.name}"
													class="history-cookie" >${chart.name}</a>
											</dt>
											<dd>
												<span>作者：</span>${chart.author}
											</dd>
											<dd>
												<span>最新章节：</span>${fn:substring(chart.latestChapterName, 0, 12)}
											</dd>
											<dd class="intro">
												<span>简介：</span>${fn:substring(chart.introduction, 0, 40)}
											</dd>
										</dl>
									</div>
								</c:if>
								<c:if test="${status.count==2}">
									<div class="b">
										<ul>
											<li>
												[${chart.categoryName}]
												<a href="${ctx}/novel/introduction.html?novelId=${chart.id}&cid=${model.params.cid}" 
													class="history-cookie" title="${chart.name}">${chart.name}</a>
											</li>
								</c:if>
								<c:if test="${status.count>2 && status.count<=8}">
									<li>
										[${chart.categoryName}]
										<a href="${ctx}/novel/introduction.html?novelId=${chart.id}&cid=${model.params.cid}" 
											class="history-cookie" title="${chart.name}">${chart.name}</a>
									</li>
								</c:if>
								<c:if test="${status.count==9}">
									<li>
										[${chart.categoryName}]
										<a href="${ctx}/novel/introduction.html?novelId=${chart.id}&cid=${model.params.cid}" 
											class="history-cookie" title="${chart.name}">${chart.name}</a>
									</li>
									
									</ul>
								</div>
								</c:if>
							</c:forEach>
						</li>
						<li class="marginLeft34">
							<h1>
								<a href="${ctx}/novel/list.html?ct=4&cid=${model.params.cid}"
									>都市</a>·
								<a href="${ctx}/novel/list.html?ct=4&cid=${model.params.cid}"
									>言情</a><span></span>
							</h1>
							<c:forEach items="${model.result.chartMap.dushi}" var="chart" varStatus="status">
								<c:if test="${status.count==1}">
									<div class="l s-book">
										<a href="${ctx}/novel/introduction.html?novelId=${chart.id}&cid=${model.params.cid}" title="${chart.name}"
											class="history-cookie" ><img
												src="${imgctx}/icon/${chart.icon}"
												title="" height="130" width="104"><span class="bar"></span>
												<sp class="in">
													<c:if test="${chart.status==0}">连载中</c:if>
													<c:if test="${chart.status==1}">已完结</c:if>
												</span>
										</a>
									</div>
									
									<div class="r" style="heigh:130">
										<dl>
											<dt>
												<a href="${ctx}/novel/introduction.html?novelId=${chart.id}&cid=${model.params.cid}" title="${chart.name}"
													class="history-cookie" >${chart.name}</a>
											</dt>
											<dd>
												<span>作者：</span>${chart.author}
											</dd>
											<dd>
												<span>最新章节：</span>${fn:substring(chart.latestChapterName, 0, 12)}
											</dd>
											<dd class="intro">
												<span>简介：</span>${fn:substring(chart.introduction, 0, 40)}
											</dd>
										</dl>
									</div>
								</c:if>
								<c:if test="${status.count==2}">
									<div class="b">
										<ul>
											<li>
												[${chart.categoryName}]
												<a href="${ctx}/novel/introduction.html?novelId=${chart.id}&cid=${model.params.cid}" 
													class="history-cookie" title="${chart.name}">${chart.name}</a>
											</li>
								</c:if>
								<c:if test="${status.count>2 && status.count<=8}">
									<li>
										[${chart.categoryName}]
										<a href="${ctx}/novel/introduction.html?novelId=${chart.id}&cid=${model.params.cid}" 
											class="history-cookie" title="${chart.name}">${chart.name}</a>
									</li>
								</c:if>
								<c:if test="${status.count==9}">
									<li>
										[${chart.categoryName}]
										<a href="${ctx}/novel/introduction.html?novelId=${chart.id}&cid=${model.params.cid}" 
											class="history-cookie" title="${chart.name}">${chart.name}</a>
									</li>
									
									</ul>
								</div>
								</c:if>
							</c:forEach>
						</li>
						<li>
							<h1>
								<a href="${ctx}/novel/list.html?ct=3&cid=${model.params.cid}"
									>历史</a>·
								<a href="${ctx}/novel/list.html?ct=3&cid=${model.params.cid}"
									>军事</a><span></span>
							</h1>
							<c:forEach items="${model.result.chartMap.lishi}" var="chart" varStatus="status">
								<c:if test="${status.count==1}">
									<div class="l s-book">
										<a href="${ctx}/novel/introduction.html?novelId=${chart.id}&cid=${model.params.cid}" title="${chart.name}"
											class="history-cookie" ><img
												src="${imgctx}/icon/${chart.icon}"
												title="" height="130" width="104"><span class="bar"></span>
												<sp class="in">
													<c:if test="${chart.status==0}">连载中</c:if>
													<c:if test="${chart.status==1}">已完结</c:if>
												</span>
										</a>
									</div>
									
									<div class="r">
										<dl>
											<dt>
												<a href="${ctx}/novel/introduction.html?novelId=${chart.id}&cid=${model.params.cid}" title="${chart.name}"
													class="history-cookie" >${chart.name}</a>
											</dt>
											<dd>
												<span>作者：</span>${chart.author}
											</dd>
											<dd>
												<span>最新章节：</span>${fn:substring(chart.latestChapterName, 0, 12)}
											</dd>
											<dd class="intro">
												<span>简介：</span> ${fn:substring(chart.introduction, 0, 40)}
											</dd>
										</dl>
									</div>
								</c:if>
								<c:if test="${status.count==2}">
									<div class="b">
										<ul>
											<li>
												[${chart.categoryName}]
												<a href="${ctx}/novel/introduction.html?novelId=${chart.id}&cid=${model.params.cid}" 
													class="history-cookie" title="${chart.name}">${chart.name}</a>
											</li>
								</c:if>
								<c:if test="${status.count>2 && status.count<=8}">
									<li>
										[${chart.categoryName}]
										<a href="${ctx}/novel/introduction.html?novelId=${chart.id}&cid=${model.params.cid}" 
											class="history-cookie" title="${chart.name}">${chart.name}</a>
									</li>
								</c:if>
								<c:if test="${status.count==9}">
									<li>
										[${chart.categoryName}]
										<a href="${ctx}/novel/introduction.html?novelId=${chart.id}&cid=${model.params.cid}" 
											class="history-cookie" title="${chart.name}">${chart.name}</a>
									</li>
									
									</ul>
								</div>
								</c:if>
							</c:forEach>
						</li>
					    <li class="marginLeft34">
							<h1>
								<a href="${ctx}/novel/list.html?ct=6&cid=${model.params.cid}"
									>游戏</a>·
								<a href="${ctx}/novel/list.html?ct=6&cid=${model.params.cid}"
									>竞技</a><span></span>
							</h1>
							<c:forEach items="${model.result.chartMap.wangyou}" var="chart" varStatus="status">
								<c:if test="${status.count==1}">
									<div class="l s-book">
										<a href="${ctx}/novel/introduction.html?novelId=${chart.id}&cid=${model.params.cid}" title="${chart.name}"
											class="history-cookie" ><img
												src="${imgctx}/icon/${chart.icon}"
												title="" height="130" width="104"><span class="bar"></span>
												<sp class="in">
													<c:if test="${chart.status==0}">连载中</c:if>
													<c:if test="${chart.status==1}">已完结</c:if>
												</span>
										</a>
									</div>
									
									<div class="r">
										<dl>
											<dt>
												<a href="${ctx}/novel/introduction.html?novelId=${chart.id}&cid=${model.params.cid}" title="${chart.name}"
													class="history-cookie" >${chart.name}</a>
											</dt>
											<dd>
												<span>作者：</span>${chart.author}
											</dd>
											<dd>
												<span>最新章节：</span>${fn:substring(chart.latestChapterName, 0, 12)}
											</dd>
											<dd class="intro">
												<span>简介：</span>${fn:substring(chart.introduction, 0, 40)}
											</dd>
										</dl>
									</div>
								</c:if>
								<c:if test="${status.count==2}">
									<div class="b">
										<ul>
											<li>
												[${chart.categoryName}]
												<a href="${ctx}/novel/introduction.html?novelId=${chart.id}&cid=${model.params.cid}" 
													class="history-cookie" title="${chart.name}">${chart.name}</a>
											</li>
								</c:if>
								<c:if test="${status.count>2 && status.count<=8}">
									<li>
										[${chart.categoryName}]
										<a href="${ctx}/novel/introduction.html?novelId=${chart.id}&cid=${model.params.cid}" 
											class="history-cookie" title="${chart.name}">${chart.name}</a>
									</li>
								</c:if>
								<c:if test="${status.count==9}">
									<li>
										[${chart.categoryName}]
										<a href="${ctx}/novel/introduction.html?novelId=${chart.id}&cid=${model.params.cid}" 
											class="history-cookie" title="${chart.name}">${chart.name}</a>
									</li>
									
									</ul>
								</div>
								</c:if>
							</c:forEach>
						</li>
						<li>
							<h1>
								<a href="${ctx}/novel/list.html?ct=1&cid=${model.params.cid}"
									>武侠</a>·
								<a href="${ctx}/novel/list.html?ct=1&cid=${model.params.cid}"
									>仙侠</a><span></span>
							</h1>
							<c:forEach items="${model.result.chartMap.wuxia}" var="chart" varStatus="status">
								<c:if test="${status.count==1}">
									<div class="l s-book">
										<a href="${ctx}/novel/introduction.html?novelId=${chart.id}&cid=${model.params.cid}" title="${chart.name}"
											class="history-cookie" ><img
												src="${imgctx}/icon/${chart.icon}"
												title="" height="130" width="104"><span class="bar"></span>
												<sp class="in">
													<c:if test="${chart.status==0}">连载中</c:if>
													<c:if test="${chart.status==1}">已完结</c:if>
												</span>
										</a>
									</div>
									
									<div class="r">
										<dl>
											<dt>
												<a href="${ctx}/novel/introduction.html?novelId=${chart.id}&cid=${model.params.cid}" title="${chart.name}"
													class="history-cookie" >${chart.name}</a>
											</dt>
											<dd>
												<span>作者：</span>${chart.author}
											</dd>
											<dd>
												<span>最新章节：</span>
											</dd>
											<dd class="intro">
												<span>简介：</span>${fn:substring(chart.introduction, 0, 40)}
											</dd>
										</dl>
									</div>
								</c:if>
								<c:if test="${status.count==2}">
									<div class="b">
										<ul>
											<li>
												[${chart.categoryName}]
												<a href="${ctx}/novel/introduction.html?novelId=${chart.id}&cid=${model.params.cid}" 
													class="history-cookie" title="${chart.name}">${chart.name}</a>
											</li>
								</c:if>
								<c:if test="${status.count>2 && status.count<=8}">
									<li>
										[${chart.categoryName}]
										<a href="${ctx}/novel/introduction.html?novelId=${chart.id}&cid=${model.params.cid}" 
											class="history-cookie" title="${chart.name}">${chart.name}</a>
									</li>
								</c:if>
								<c:if test="${status.count==9}">
									<li>
										[${chart.categoryName}]
										<a href="${ctx}/novel/introduction.html?novelId=${chart.id}&cid=${model.params.cid}" 
											class="history-cookie" title="${chart.name}">${chart.name}</a>
									</li>
									
									</ul>
								</div>
								</c:if>
							</c:forEach>
						</li>
						<li class="marginLeft34">
							<h1>
								<a href="${ctx}/novel/list.html?ct=7&cid=${model.params.cid}"
									>悬疑</a>·
								<a href="${ctx}/novel/list.html?ct=7&cid=${model.params.cid}"
									>灵异</a><span></span>
							</h1>
							<c:forEach items="${model.result.chartMap.lingyi}" var="chart" varStatus="status">
								<c:if test="${status.count==1}">
									<div class="l s-book">
										<a href="${ctx}/novel/introduction.html?novelId=${chart.id}&cid=${model.params.cid}" title="${chart.name}"
											class="history-cookie" ><img
												src="${imgctx}/icon/${chart.icon}"
												title="" height="130" width="104"><span class="bar"></span>
												<sp class="in">
													<c:if test="${chart.status==0}">连载中</c:if>
													<c:if test="${chart.status==1}">已完结</c:if>
												</span>
										</a>
									</div>
									
									<div class="r">
										<dl>
											<dt>
												<a href="${ctx}/novel/introduction.html?novelId=${chart.id}&cid=${model.params.cid}" title="${chart.name}"
													class="history-cookie" >${chart.name}</a>
											</dt>
											<dd>
												<span>作者：</span>${chart.author}
											</dd>
											<dd>
												<span>最新章节：</span>${fn:substring(chart.latestChapterName, 0, 12)}
											</dd>
											<dd class="intro">
												<span>简介：</span>${fn:substring(chart.introduction, 0, 40)}
											</dd>
										</dl>
									</div>
								</c:if>
								<c:if test="${status.count==2}">
									<div class="b">
										<ul>
											<li>
												[${chart.categoryName}]
												<a href="${ctx}/novel/introduction.html?novelId=${chart.id}&cid=${model.params.cid}" 
													class="history-cookie" title="${chart.name}">${chart.name}</a>
											</li>
								</c:if>
								<c:if test="${status.count>2 && status.count<=8}">
									<li>
										[${chart.categoryName}]
										<a href="${ctx}/novel/introduction.html?novelId=${chart.id}&cid=${model.params.cid}" 
											class="history-cookie" title="${chart.name}">${chart.name}</a>
									</li>
								</c:if>
								<c:if test="${status.count==9}">
									<li>
										[${chart.categoryName}]
										<a href="${ctx}/novel/introduction.html?novelId=${chart.id}&cid=${model.params.cid}" 
											class="history-cookie" title="${chart.name}">${chart.name}</a>
									</li>
									
									</ul>
								</div>
								</c:if>
							</c:forEach>
						</li>
						
					</ul>
				</div>
			</div>


		</div>




		<div class="sidebar clearfix">


			<ul id="recommends" class="recommends">
				<li class="recommend-type re-index-0">
					<h2>
						热门推荐
					</h2>
					<ul>
						<c:forEach items="${model.result.chartMap.hotest}" var="chart" varStatus="status">
							<c:if test="${status.count<=3}">
								<li class="recommend-item">
									<span class="recommend-item-index">${status.count}</span><span
									class="recommend-item-type"> [${chart.categoryName}] </span><a
									href="${ctx}/novel/introduction.html?novelId=${chart.id}&cid=${model.params.cid}" title="${chart.name}"
									 class="ends">${chart.name}</a>
								</li>
							</c:if>
							<c:if test="${status.count>3}">
								<li class="recommend-item">
									<span class="recommend-item-index top3">${status.count}</span><span
									class="recommend-item-type"> [${chart.categoryName}] </span><a
									href="${ctx}/novel/introduction.html?novelId=${chart.id}&cid=${model.params.cid}" title="${chart.name}"
									 class="ends">${chart.name}</a>
								</li>
							</c:if>
						</c:forEach>
					</ul>
				</li>
				<li class="recommend-type re-index-1">
					<h2>
						最新更新
					</h2>
					<ul>
						<c:forEach items="${model.result.chartMap.newest}" var="chart" varStatus="status">
							<c:if test="${status.count<=3}">
								<li class="recommend-item">
									<span class="recommend-item-index">${status.count}</span><span
									class="recommend-item-type"> [${chart.categoryName}] </span><a
									href="${ctx}/novel/introduction.html?novelId=${chart.id}&cid=${model.params.cid}" title="${chart.name}"
									 class="ends">${chart.name}</a>
								</li>
							</c:if>
							<c:if test="${status.count>3}">
								<li class="recommend-item">
									<span class="recommend-item-index top3">${status.count}</span><span
									class="recommend-item-type"> [${chart.categoryName}] </span><a
									href="${ctx}/novel/introduction.html?novelId=${chart.id}&cid=${model.params.cid}" title="${chart.name}"
									 class="ends">${chart.name}</a>
								</li>
							</c:if>
						</c:forEach>
					</ul>
				</li>
				<li class="recommend-type re-index-2">
					<h2>
						新书推荐
					</h2>
					<ul>
						<c:forEach items="${model.result.chartMap.newBook}" var="chart" varStatus="status">
							<c:if test="${status.count<=3}">
								<li class="recommend-item">
									<span class="recommend-item-index">${status.count}</span><span
									class="recommend-item-type"> [${chart.categoryName}] </span><a
									href="${ctx}/novel/introduction.html?novelId=${chart.id}&cid=${model.params.cid}" title="${chart.name}"
									 class="ends">${chart.name}</a>
								</li>
							</c:if>
							<c:if test="${status.count>3}">
								<li class="recommend-item">
									<span class="recommend-item-index top3">${status.count}</span><span
									class="recommend-item-type"> [${chart.categoryName}] </span><a
									href="${ctx}/novel/introduction.html?novelId=${chart.id}&cid=${model.params.cid}" title="${chart.name}"
									 class="ends">${chart.name}</a>
								</li>
							</c:if>
						</c:forEach>
					</ul>
				</li>
				<li class="recommend-type re-index-3">
					<h2>
						经典全本推荐
					</h2>
					<ul>
						<c:forEach items="${model.result.chartMap.classic}" var="chart" varStatus="status">
							<c:if test="${status.count<=3}">
								<li class="recommend-item">
									<span class="recommend-item-index">${status.count}</span><span
									class="recommend-item-type"> [${chart.categoryName}] </span><a
									href="${ctx}/novel/introduction.html?novelId=${chart.id}&cid=${model.params.cid}" title="${chart.name}"
									 class="ends">${chart.name}</a>
								</li>
							</c:if>
							<c:if test="${status.count>3}">
								<li class="recommend-item">
									<span class="recommend-item-index top3">${status.count}</span><span
									class="recommend-item-type"> [${chart.categoryName}] </span><a
									href="${ctx}/novel/introduction.html?novelId=${chart.id}&cid=${model.params.cid}" title="${chart.name}"
									 class="ends">${chart.name}</a>
								</li>
							</c:if>
						</c:forEach>
					</ul>
				</li>
				<li class="recommend-type re-index-4">
					<h2>
						编辑推荐
					</h2>
					<ul>
						<c:forEach items="${model.result.chartMap.editorRecommend}" var="chart" varStatus="status">
							<c:if test="${status.count<=3}">
								<li class="recommend-item">
									<span class="recommend-item-index">${status.count}</span><span
									class="recommend-item-type"> [${chart.categoryName}] </span><a
									href="${ctx}/novel/introduction.html?novelId=${chart.id}&cid=${model.params.cid}" title="${chart.name}"
									 class="ends">${chart.name}</a>
								</li>
							</c:if>
							<c:if test="${status.count>3}">
								<li class="recommend-item">
									<span class="recommend-item-index top3">${status.count}</span><span
									class="recommend-item-type"> [${chart.categoryName}] </span><a
									href="${ctx}/novel/introduction.html?novelId=${chart.id}&cid=${model.params.cid}" title="${chart.name}"
									 class="ends">${chart.name}</a>
								</li>
							</c:if>
						</c:forEach>
						
					</ul>
				</li>
			</ul>

		</div>

		<div class="clear"></div>
		<c:import url="./common/foot.jsp">
			<c:param name="title" value="novel"></c:param>
		</c:import>
</body>
</html>